package com.example.es.repository;

import com.example.es.entity.MyEntity;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface MyEntityRepository extends ElasticsearchRepository<MyEntity, String> {
    List<MyEntity> findByName(String name);
}
